package com.groupbuying.payconsumer.dao;

import com.groupbuying.payconsumer.domain.PayOrderRelDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 订单和支付单关联关系
 * @author vincentxin
 * @email vincentxin@aliyun.com
 * @date 2019-06-04 08:38:52
 * @des
 */

@Mapper
@Repository
public interface PayOrderRelDao {

	PayOrderRelDO get(String id);
	
	List<PayOrderRelDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(PayOrderRelDO payOrderRel);
	
	int update(PayOrderRelDO payOrderRel);
	
	int remove(String id);
	
	int batchRemove(String[] ids);
}
